'use strict'
module.exports = (sequelize, DataTypes) => {
  return sequelize.define(
    'tag',
    {
      index: {
        type: DataTypes.INTEGER,
        allowNull: false,
        defaultValue: 9999
      },
      name: {
        type: DataTypes.STRING,
        allowNull: false
      }
    }, {
      timestamps: true
    }
  )
}
